package net.ericaro.neojavagen.blocks ;
import net.ericaro.neojavagen.classes.InstanceInitializer;
import net.ericaro.neojavagen.classes.MethodBody;
import net.ericaro.neojavagen.blocks.StatementWithoutTrailingSubstatement;
import net.ericaro.neojavagen.blocks.BlockStatements ;

/**
* *<pre> Block :
    {  BlockStatements?  }
</pre>
*/
public class Block  implements InstanceInitializer,MethodBody,StatementWithoutTrailingSubstatement {

BlockStatements blockstatements ;

public Block( BlockStatements blockstatements ){
	this.blockstatements = blockstatements ;
	}public Block(  ){
 ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( "{\n" ).append(" ");
stringbuilder.append( "" ).append(" ");
if (this.blockstatements !=null ) stringbuilder.append( this.blockstatements ).append(" ");
stringbuilder.append( "" ).append(" ");
stringbuilder.append( "}\n" ).append(" ") ;
	return stringbuilder.toString();
}

}
